package com.crm.pojo.common;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseProperties {
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @JsonIgnore
    @TableField(exist = false)
    private String beginCreateTime;
    @JsonIgnore
    @TableField(exist = false)
    private String endCreateTime;
    @JsonIgnore
    @TableField(exist = false)
    private Integer pageNum = 1;
    @JsonIgnore
    @TableField(exist = false)
    private Integer pageSize = 10;
}